package xyz.robinbingo.effectivejava.chapter03.item13;

import cn.hutool.core.lang.Console;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author Robin
 * @date 2019/03/21 15:33
 **/
@RunWith(SpringRunner.class)
@SpringBootTest
public class Item13 {

    @Test
    public void test00() {
        PhoneNumber a = new PhoneNumber(4, 5, 6);
        PhoneNumber clone = a.clone();
        Console.log(clone);
    }

    @Test
    public void test01() {
        String[] a = new String[3];
        a[0] = "1";
        a[1] = "2";
        a[2] = "3";
        String[] clone = a.clone();
        Console.log(clone);
    }
}
